#ifndef MYCLIENT_H
#define MYCLIENT_H

#include <QObject>
#include <QTcpSocket>
#include <QThreadPool>
#include <QDebug>
#include "mytask.h"
class MyClient : public QObject
{
    Q_OBJECT
public:
    explicit MyClient(QObject *parent = 0);
    void SetSocket(int Descriptor);
    QTcpSocket* socket;
signals:
    
public slots:
    void comeconnected();
    void newdisconnected();
    void readyRead();
    void TaskResult(int Number);
private:
    //MyTask* mytask;
};

#endif // MYCLIENT_H
